package com.southpark.framework.managers
{
	import flash.utils.getQualifiedClassName;
	
	public class ErrorManager
	{
		static public const SINGLETON_EXCEPTION:String = "SINGLETON_EXCEPTION";
		static public const DUPLICATE_DEFINITION:String = "DUPLICATE_DEFINITION";
		
		
		static public function throwError(message:String,object:Object):void
		{
			throw new Error("ErrorManager: " + getQualifiedClassName(object) + ": " + message);
		}

	}
}